package com.danciyixue.boot.dcyx.converter;

import org.mapstruct.Mapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.danciyixue.boot.dcyx.model.entity.UnitStudyStats;
import com.danciyixue.boot.dcyx.model.form.UnitStudyStatsForm;

/**
 * 单元学习统计对象转换器
 *
 * @author youlaitech
 * @since 2025-06-15 16:32
 */
@Mapper(componentModel = "spring")
public interface UnitStudyStatsConverter{

    UnitStudyStatsForm toForm(UnitStudyStats entity);

    UnitStudyStats toEntity(UnitStudyStatsForm formData);
}